import { FC, PropsWithChildren } from 'react';
const HeaderBar: FC<PropsWithChildren<{ title: string; path: string }>> = (
  props,
) => {
  return (
    <div className='flex items-center h-[34px] text-black1 text-sm bg-title w-full leading-[34px] pl-[22px] font-common'>
      <img className='w-[11px] h-[14px] mr-[6px]' src={props.path} alt='' />
      {props.title}
    </div>
  );
};

export default HeaderBar;
